#pragma once
#include <nice2d/predef.h>
#include <nice2d/scene.h>
#include <nice2d/piece/piece.h>

class PieceScene : public Scene
{
    DECLARE_OBJECT(PieceScene)
public:
    PieceScene();
    virtual ~PieceScene();
public:
    virtual std::shared_ptr<TileMap> getTileMap()const;

    void addPiece(std::shared_ptr<Piece> piece, int32_t x, int32_t y);
    void removePiece(std::shared_ptr<Piece> piece);
};
